package com.itheima.utils;

import com.itheima.pojo.Emp;

import java.util.Map;

public class MyThreadLocalUtils {

    private static ThreadLocal threadLocal = new ThreadLocal();
    public static <T> void setValue(T map){
        threadLocal.set(map);
    }
    public static <T>T getValue(){
        return (T)threadLocal.get();
    }
}
